package com.wise.site.protocol.result;

import com.wise.site.R;
import com.wise.site.protocol.base.SoapResult;

public class BusinessDetailsResult extends SoapResult {
	
	/*
	 * id
	 */
	private int id;
	
	/*
	 * 标题
	 */
	private String title;
	
	/*
	 * 价格
	 */
	private String price;
	
	/*
	 * 收藏次数
	 */
	private int favoriteCount;
	
	/*
	 * 内容
	 */
	private String content;
	
	/**
	 * 图片地址
	 */
	private String imageUrl;
	
	

	@Override
	public void parseData(String response) throws Exception {
		// TODO Auto-generated method stub
		test();
	}

	private void test(){
		this.id = 0;
		this.title = "标题";
		this.price = "50000.00";
		this.favoriteCount = 2000;
		this.content = "内容";
		this.imageUrl = R.drawable.headline_clicked + "";
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public int getFavoriteCount() {
		return favoriteCount;
	}

	public void setFavoriteCount(int favoriteCount) {
		this.favoriteCount = favoriteCount;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	@Override
	public String toString() {
		return "BusinessDetailsResult [id=" + id + ", title=" + title
				+ ", price=" + price + ", favoriteCount=" + favoriteCount
				+ ", content=" + content + ", imageUrl=" + imageUrl + "]";
	}


	

	
	
	
}
